package com.ht.pms.core.controller.rp;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.ht.pms.core.dao.NoticeRecordDao;
import com.ht.pms.core.dao.SalaryRpDao;
import com.ht.pms.core.dao.SalarySheetManagementDao;
import com.ht.pms.core.dto.PageResult;
import com.ht.pms.core.dto.QueryNoticeRecordReq;

/**
 * @author:喻尊龙
 * @date: 2018/4/19
 */
@RestController
@RequestMapping("/rp")
public class SalaryRpController {

    private Logger logger = LoggerFactory.getLogger(SalaryRpController.class);

    @Autowired
    private SalaryRpDao salaryRpDao;

    @RequestMapping("/workInfoByMounth")
    @ResponseBody
    public List<Map<String, Object>> workInfoByMounth(QueryNoticeRecordReq req){
    	Map<String, Object> paramMap = new HashMap<>();
    	return salaryRpDao.workInfoByMounth(paramMap);
    }
    
    @RequestMapping("/salaryInfoByMounth")
    @ResponseBody
    public List<Map<String, Object>> salaryInfoByMounth(QueryNoticeRecordReq req){
    	Map<String, Object> paramMap = new HashMap<>();
    	return salaryRpDao.salaryInfoByMounth(paramMap);
    }




}
